Skip to content

Commit

Permalink
Could not click link inside off canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Dang Quoc Dat committed Apr 8, 2019
1 parent caaed1d commit b5062c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/plg_system_t3/base-bs3/js/off-canvas.js
Expand Up @@ -200,7 +200,8 @@ jQuery (document).ready(function($){
$('html,body').animate({scrollTop: anchor.offset().top},'slow');
}, 1000);
}
return;
// prevent only if anchor same page.
if (e.target.href.search('#') !== -1) return;
}
stopBubble(e);
return true;
Expand Down

0 comments on commit b5062c1

Please sign in to comment.